package cn.wolfcode.repository;

import cn.wolfcode.domain.Region;
import cn.wolfcode.domain.StrategyCatalog;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * 明细持久化接口
 */
public interface StrategyCatalogRepository extends MongoRepository<StrategyCatalog, String> {

    /**
     * 通过目的地id查找攻略
     * @param destId
     * @return
     */
    List<StrategyCatalog> findByDestId(String destId);
}
